﻿using AIClient.Configs;

namespace AIClient.Players.Module.Card
{
    // 战场卡牌
    public class BoardCard
    {
        public BoardCard(int cardId)
        {
            Cfg      = ConfigManager.CardCfgs[cardId];
            Health   = Cfg.Health;
            Attack   = Cfg.Attack;
            HasSkill = false;
            IsMarked = false;
        }

        public readonly CardCfg  Cfg;
        public          CardType CardType => Cfg.CardType;
        public          int      Power    => Cfg.Power;
        public          int      Health;
        public          int      Attack;
        public          bool     HasSkill;
        public          bool     IsMarked;
    }
}
